﻿using System;
using System.Collections.Generic;
using System.Text;
using yb.commerce.DAL;

using yb.commerce.Model;

namespace yb.commerce.BLL
{
    public class JobInformationBusiness
    {
        public bool Add(JobInformation jobInformation) { return new JobInformationDAO().Add(jobInformation); }
        public bool Delete(int Id) { return new JobInformationDAO().Delete(Id); }
        public bool Update(JobInformation jobInformation) { return new JobInformationDAO().Update(jobInformation); }
        public JobInformation GetEntity(int Id) { return new JobInformationDAO().GetEntity(Id); }
        public DataRecordTable GetList(string fieldList, string orderField, bool orderBy, int pageIndex, int pageSize, string where)
        {
            return new JobInformationDAO().GetList(fieldList, orderField, orderBy, pageIndex, pageSize, where);
        }
        public int GetRecordCount(string where) { return new JobInformationDAO().GetRecordCount(where); }
    }
}
